home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
sat_eventtostr.z
/
sat_eventtostr
Wrap
Text File
|
1998-10-20
|
3KB
|
67 lines
SSSSAAAATTTT____EEEEVVVVEEEENNNNTTTTTTTTOOOOSSSSTTTTRRRR((((3333LLLL)))) SSSSAAAATTTT____EEEEVVVVEEEENNNNTTTTTTTTOOOOSSSSTTTTRRRR((((3333LLLL))))
NNNNAAAAMMMMEEEE
sat_eventtostr, sat_strtoevent - convert an audit event index to/from an
audit event string
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ssssaaaatttt....hhhh>>>>
cccchhhhaaaarrrr **** ssssaaaatttt____eeeevvvveeeennnnttttttttoooossssttttrrrr ((((eeeevvvveeeennnntttt))))
iiiinnnntttt eeeevvvveeeennnntttt;;;;
iiiinnnntttt ssssaaaatttt____ssssttttrrrrttttooooeeeevvvveeeennnntttt ((((eeeevvvvssssttttrrrr))))
cccchhhhaaaarrrr ****eeeevvvvssssttttrrrr;;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_s_a_t__e_v_e_n_t_t_o_s_t_r returns a human-readable string which represents the audit
event passed to it in _e_v_e_n_t. The value returned points to a static
character array.
_e_v_e_n_t must be a positive integer less than SSSSAAAATTTT____NNNNTTTTYYYYPPPPEEEESSSS (defined in
<<<<ssssyyyyssss////ssssaaaatttt....hhhh>>>>).
_s_a_t__s_t_r_t_o_e_v_e_n_t returns a machine-readable event index which represents
the string passed to it in _e_v_s_t_r.
The string returned by _s_a_t__e_v_e_n_t_t_o_s_t_r and passed to _s_a_t__s_t_r_t_o_e_v_e_n_t is a
member of the set of known event names. For a complete list of known
event names, run the command:
sat_select -h
SSSSEEEEEEEE AAAALLLLSSSSOOOO
sat_reduce(1m)
sat_select(1m)
sat_summarize(1m)
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
_s_a_t__e_v_e_n_t_t_o_s_t_r returns _u_n_k_n_o_w_n _e_v_e_n_t #%_d if _e_v_e_n_t is not a positive
integer less than SSSSAAAATTTT____NNNNTTTTYYYYPPPPEEEESSSS. _s_a_t__s_t_r_t_o_e_v_e_n_t returns ----1111 if _e_v_s_t_r is NULL
or points to an audit event of unrecognized type.
NNNNOOOOTTTTEEEESSSS
If this function is used in a program, then the library lllliiiibbbbmmmmllllssss must be
linked at compile time. For example the following command will perform
this link:
cc -DTRUSTEDIRIX -DLABELLEDSOCKETS _p_r_o_g_r_a_m_n_a_m_e.c -lmls
PPPPaaaaggggeeee 1111